<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of TransactionController
 *
 * @author hoangle
 */
class Backend_TransactionController extends Zend_Controller_Action {
    //put your code here

    public function init() {
        $this->_helper->layout->setLayout('backend');
        Service_Account::checkLogin(2);
    }

    /**
     * Forward action main
     */
    public function indexAction() {
        $this->_forward('get');
    }

    /**
     * @desc get transaction
     */
    public function getAction() {
        $this->view->headTitle('Transaction | Back End');
        $result = Service_Model::factory('Transaction', 'getTransaction', $arrParams, 'backend');
        $this->view->transaction = $result;
    }

}

?>
